Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify Service Discovery by decoupling the service registry from intent brokering #141

Merged
merged 13 commits into from
Jun 29, 2023

Conversation

ladatz
Copy link
Contributor

@ladatz ladatz commented Jun 21, 2023

Closes #134

Motivation and Context

Today, Service Discovery and intent brokering are tightly coupled. Separating them allows simplification of providers. With this change, providers will only need to communicate with Chariott through clients, rather than needing to implement a specific gRPC interface. This enables simpler execution of the direct application-application communication model. We've received feedback from the community that people using Chariott for Service Discovery would prefer this simpler approach.

Description

Created a new service registry implementation which is completely separate from the intent brokering. This is the first iteration of the new registry, and features will be added over time, according to priority and community feedback.

Copy link

@jorchiu jorchiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please take a look at my comments.

service_discovery/core/Cargo.toml Show resolved Hide resolved
service_discovery/core/src/registry_impl.rs Outdated Show resolved Hide resolved
service_discovery/core/src/registry_impl.rs Outdated Show resolved Hide resolved
service_discovery/core/src/registry_impl.rs Outdated Show resolved Hide resolved
service_discovery/core/src/registry_impl.rs Outdated Show resolved Hide resolved
service_discovery/core/src/registry_impl.rs Outdated Show resolved Hide resolved
service_discovery/core/src/registry_impl.rs Outdated Show resolved Hide resolved
service_discovery/core/src/registry_impl.rs Outdated Show resolved Hide resolved
Cargo.toml Outdated Show resolved Hide resolved
Copy link

@ashbeitz ashbeitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please take a look at me comments.

service_discovery/core/Cargo.toml Show resolved Hide resolved
service_discovery/core/src/main.rs Outdated Show resolved Hide resolved
service_discovery/core/src/registry_impl.rs Outdated Show resolved Hide resolved
service_discovery/proto/build.rs Outdated Show resolved Hide resolved
@ladatz ladatz requested a review from jorchiu June 26, 2023 20:55
Copy link

@ashbeitz ashbeitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@ladatz ladatz merged commit d8375a8 into main Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[PBI] Simplify Service Discovery Process
7 participants